package service;

import pojo.GuaHao;
import java.util.List;

public interface GuaHaoService {
    List<GuaHao> getDoctorsByDepartmentId(Integer departmentId);
    GuaHao getDoctorDetailByDocId(String docId);
    GuaHao getAvailableSlotsByDocIdAndScheduleId(String docId, String scheduleId);
    java.util.List<GuaHao> getDoctorsWithAvailableSlotsByDepartmentAndDate(Integer departmentId, String queryDate);
    
    // 确认挂号信息
    GuaHao getRegistrationConfirmation(String docId, String scheduleId);

    // 新增：插入挂号记录
    int registerPatientDoctor(GuaHao guaHao);

    int deletePatientDoctorById(Integer id);
    List<GuaHao> getAppointmentsByUserId(Integer userId);
}
